package com.chinasofti;

public class Demo09 {
    public static void main(String[] args) {
        String s ="01234567";
        //String s1= s.substring(3);//截取作用
        //System.out.println("s1="+s1);
        //String s2 = s.substring(0,3);// 含头不含尾
        //System.out.println("s2="+s2);
        String s3 =s.substring(6,8);
        System.out.println("s3="+s3);
    }
}
